package com.thirdgroup.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.thirdgroup.service.OrderPhoneService;
import com.thirdgroup.utils.respond.R;
import org.junit.Test;

import static org.junit.Assert.*;

public class OrderPhoneServiceImplTest {
    private OrderPhoneService orderPhoneService=new OrderPhoneServiceImpl();

    @Test
    public void orderPhone() {
        R s = orderPhoneService.orderPhone("O20220101235959");
        Object data = s.getData();
        String string = JSONObject.toJSONString(data);
        System.out.println(string);
    }
}